<img src="{$_W['account']['logo']}" class="head-logo">
<span class="wxapp-name">{$_W['account']['name']}</span>
<span class="wxapp-version">{$version_info['version']}</span>
<div class="pull-right">
	{if $_W['account']['type'] == ACCOUNT_TYPE_ALIAPP_NORMAL}
		<a href="{php echo url('miniapp/version/display')}" class="color-default"><i class="wi wi-cut"></i>切换版本</a>
		{if in_array($_W['role'], array(ACCOUNT_MANAGE_NAME_OWNER, ACCOUNT_MANAGE_NAME_MANAGER)) || $_W['isfounder']}
		<a href="{php echo url('miniapp/manage/display', array('uniacid' => $_W['uniacid']))}" class="color-default"><i class="wi wi-text"></i>管理</a>
		{/if}
	{else}
		<a href="{php echo url('wxapp/version/display')}" class="color-default"><i class="wi wi-cut"></i>切换版本</a>
		{if in_array($_W['role'], array(ACCOUNT_MANAGE_NAME_OWNER, ACCOUNT_MANAGE_NAME_MANAGER)) || $_W['isfounder']}
		<a href="{php echo url('wxapp/manage/display', array('uniacid' => $_W['uniacid']))}" class="color-default"><i class="wi wi-text"></i>管理</a>
		{/if}	
	{/if}
	<a href="{php echo url('account/display', array('type' => 'all'))}" class="color-default"><i class="wi wi-small-routine"></i>切换平台</a>
</div>